package com.ycz.master.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ycz.master.mapper.DeptMapper;
import com.ycz.master.pojo.Dept;
import com.ycz.master.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * author zyc
 * Created on 2021/9/30 15:10
 */
@Service
public class DeptServiceImpl extends ServiceImpl<DeptMapper, Dept> implements DeptService {
    @Autowired
    public DeptMapper mapper;

    @Override
    public List<Dept> finddept() {
        return mapper.selectList(null);
    }
}
